<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>category</title>
    <!-- 引入mui的样式 -->
    <link rel="stylesheet" href="./assets/mui/css/mui.css">
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="./css/common.css">
    <!-- 首页 自己的样式 -->
    <link rel="stylesheet" href="./css/search.css">
</head>

<body>
    <!-- 头部 -->
    <header id="header" class="mui-bar mui-bar-nav">
        <a href="javascript:history.back();" class="fa fa-arrow-left h_left"></a>
        <span>搜索中心</span>
    </header>
    <!-- 内容 -->
    <div class="view">
        <div class="search_form">
            <input type="text" id="search_inp" placeholder="搜索你喜欢的商品">
            <button id="search_btn">搜索</button>
        </div>
        <div class="history_list">
            <div class="history_title">
                <span>搜索历史</span>
                <button id="clear_btn" class="fa fa-trash-o">清空记录</button>
            </div>
            <div class="history_contain">

            </div>
        </div>
    </div>
    <!-- 尾部 -->
    <div class="foot">
        <a class="shouye" href="index.html">
      <span class="fa fa-home"></span>
      <h3>首页</h3>
    </a>
        <a class="fenlei" href="category.html">
      <span class="fa fa-bars"></span>
      <h3>分类</h3>
    </a>
        <a class="cart" href="javascript:;">
      <span class="fa fa-cart-plus"></span>
      <h3>购物车</h3>
    </a>
        <a class="info" href="javascript:;">
      <span class="fa fa-user"></span>
      <h3>会员中心</h3>
    </a>
    </div>
</body>


<script id="mainTemp" type="text/html">
    <ul>
        {{each arr value index}}
        <li>
            <span class="his_name">{{value}}</span>
            <a class="remove_btn" href="javascript:;"><span class="fa fa-remove"></span></a>
        </li>
        {{/each}}
    </ul>
</script>
<!-- mui js  不依赖其他 -->
<!-- bootstrap- 基于jquery -->
<script src="./assets/mui/js/mui.js"></script>
<script src="./assets/arttemplate/template-web.js"></script>
<!-- zepto 方面我们自己开发 -->
<script src="./assets/zepto/zepto.js"></script>
<!-- 公共的js common.js -->
<script src="./js/common.js"></script>
<!-- 自己的js index.js -->

<!-- 自己的js search.js -->

<script src="./js/search.js"></script>

</html>